import request from '../utils/request';
//服务管理的接口

// ======= 服务管理和发布服务=========
// 初始化服务管理的表格
export const selectservices = (params) => request({ url: '/selectservices', method: 'post', data: params })

// 发布服务
export const addservice = (params) => request({ url: '/addservice', method: 'post', data: params })

// 回显商家名称
export const selectmer = (params) => request({ url: '/selectmer', params: params })

// 查询、回显服务分类
export const selectservicetype = (params) => request({ url: '/selectservicetype', params: params })

// 删除服务信息
export const delservice = (params) => request({ url: '/delservice', params: params })

// 添加服务分类
export const addservicetype = (params) => request({ url: '/addservicetype', method: 'post', data: params })

// 删除服务分类
export const delservicetype = (params) => request({ url: '/delservicetype', params: params })